package com.ruoyi.project.dict.approve.service;

import com.ruoyi.project.dict.approve.domain.CiSentenceApprove;

import java.util.List;

/**
 * 造句审核Service接口
 *
 * @author shixiangwen
 * @date 2020-10-20
 */
public interface ICiSentenceApproveService {
    /**
     * 查询造句审核
     *
     * @param id 造句审核ID
     * @return 造句审核
     */
    public CiSentenceApprove selectCiSentenceApproveById(Long id);

    /**
     * 查询造句审核列表
     *
     * @param ciSentenceApprove 造句审核
     * @return 造句审核集合
     */
    public List<CiSentenceApprove> selectCiSentenceApproveList(CiSentenceApprove ciSentenceApprove);

    /**
     * 新增造句审核
     *
     * @param ciSentenceApprove 造句审核
     * @return 结果
     */
    public int insertCiSentenceApprove(CiSentenceApprove ciSentenceApprove);

    /**
     * 修改造句审核
     *
     * @param ciSentenceApprove 造句审核
     * @return 结果
     */
    public int updateCiSentenceApprove(CiSentenceApprove ciSentenceApprove);

    /**
     * 批量删除造句审核
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCiSentenceApproveByIds(String ids);

    /**
     * 删除造句审核信息
     *
     * @param id 造句审核ID
     * @return 结果
     */
    public int deleteCiSentenceApproveById(Long id);

    int approve(Long id, Integer status);
}
